package websocketgulu.demo.dao;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import websocketgulu.demo.pojo.Mp3Details;
import websocketgulu.demo.pojo.RecordDetails;

@Mapper
public interface Mp3DataDao {
    Mp3Details loadMp3Details(@Param("userId") Long userId, @Param("collection_time") String collection_time, @Param("end_time") String end_time);

    void insertMusic(@Param("userId") Long paramLong, @Param("collection_time") String paramString1, @Param("start_time") String paramString2, @Param("end_time") String paramString3, @Param("path") String paramString4);

    void insertMusicList(RecordDetails recordDetails);

    List<RecordDetails> loadMusicList(@Param("userId") Long userId);

    RecordDetails loadRecordDetails(@Param("id") Long id);
}
